package com.tjetc.service;

import com.tjetc.domain.Bed;
import com.tjetc.domain.Notes;
import com.tjetc.utils.PageInfo;

import java.util.List;

public interface NotesService {

    boolean firstAdd(Notes notes,Bed bed,int fid);

    boolean add(Notes notes);

    int getCount(int nid);

    List<Notes> list(PageInfo<Notes> pageInfo, int nid);

    List<Notes> listMyNotes(int nid);

    Notes findByNid(int id);
}
